//
//  FBDCaheManager.h
//  EDCsfzs
//
//  Created by feng on 16/9/21.
//  Copyright © 2016年 牛高航. All rights reserved.
//
#import "Header.h"
#import <Foundation/Foundation.h>
#define  FBDCaheDir [BD_DocumentDir stringByAppendingPathComponent:@"FBDCaheManagerDir"];
@interface FBDCaheManager : NSCache


/**
 单例的快速创建
 @return 工具类单例
 */
+(instancetype)defaultTools;

//存值
-(void)fbdCacheSetObject:(id)data forKey:(NSString*)key;
//取值
-(id)fbdCacheObjectForKey:(NSString*)key;
//清缓
-(void)fbdClearCache;
//计算缓存大小
-(float)fbdGetCacheSize;



@end
